QT += quick \
    widgets \

SOURCES += \
    components/contrib/src/bif.cpp \
    components/contrib/src/eigen_faces.cpp \
    components/contrib/src/face_alignment.cpp \
    components/contrib/src/face_basic.cpp \
    components/contrib/src/facemark.cpp \
    components/contrib/src/facemarkAAM.cpp \
    components/contrib/src/facemarkLBF.cpp \
    components/contrib/src/facerec.cpp \
    components/contrib/src/fisher_faces.cpp \
    components/contrib/src/getlandmarks.cpp \
    components/contrib/src/lbph_faces.cpp \
    components/contrib/src/mace.cpp \
    components/contrib/src/predict_collector.cpp \
    components/contrib/src/regtree.cpp \
    components/contrib/src/trainFacemark.cpp \
    components/directshow/mydirectshow.cpp \
    components/file/file.cpp \
    components/image_provider/myimageprovider.cpp \
    components/opencv_camera/opencv_camera.cpp \
    components/userhandle.cpp \
    main.cpp \

HEADERS += \
    components/contrib/include/opencv2/face.hpp \
    components/contrib/include/opencv2/face/bif.hpp \
    components/contrib/include/opencv2/face/face_alignment.hpp \
    components/contrib/include/opencv2/face/facemark.hpp \
    components/contrib/include/opencv2/face/facemarkAAM.hpp \
    components/contrib/include/opencv2/face/facemarkLBF.hpp \
    components/contrib/include/opencv2/face/facemark_train.hpp \
    components/contrib/include/opencv2/face/facerec.hpp \
    components/contrib/include/opencv2/face/mace.hpp \
    components/contrib/include/opencv2/face/predict_collector.hpp \
    components/contrib/src/face_alignmentimpl.hpp \
    components/contrib/src/face_utils.hpp \
    components/contrib/src/precomp.hpp \
    components/directshow/mydirectshow.h \
    components/file/file.h \
    components/image_provider/myimageprovider.h \
    components/opencv_camera/opencv_camera.h \
    components/userhandle.h \

resources.files += \
    main.qml \
    gui/ShowVideoMain.qml \
    gui/CreateCsv.qml \
    gui/CreateRecognizer.qml \
    gui/ImageRetreatment.qml \
    gui/helpWin.qml \
    gui/aboutWin.qml \
    as_qml/AsButton.qml \
    as_qml/AsComboBox.qml \
    as_qml/AsScrollBar.qml \
    as_qml/AsText.qml \
    as_qml/AsTextField.qml \
    as_qml/AsMenu.qml \
    as_qml/AsMenuBar.qml \
    as_qml/AsMenuBarItem.qml \
    as_qml/AsMenuItem.qml

resources.prefix = /$${TARGET}
RESOURCES += resources \
    img.qrc

TRANSLATIONS += \
    opencvTeachTool_zh_CN.ts
CONFIG += lrelease
CONFIG += embed_translations

LIBS += -lstrmiids -lOle32 -lOleAut32

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -LD:/OpenCV/opencv/build/x64/vc15/lib/ -lopencv_world460
else:win32:CONFIG(debug, debug|release): LIBS += -LD:/OpenCV/opencv/build/x64/vc15/lib/ -lopencv_world460d

INCLUDEPATH += D:/OpenCV/opencv/build/include
DEPENDPATH += D:/OpenCV/opencv/build/include

